package com.lifesea.dao.mybatis;

import com.lifesea.model.BaseDept;
import com.lifesea.model.BaseDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BaseDeptMapper {
    int countByExample(BaseDeptExample example);

    int deleteByExample(BaseDeptExample example);

    int deleteByPrimaryKey(Integer deptId);

    int insert(BaseDept record);

    int insertSelective(BaseDept record);

    List<BaseDept> selectByExample(BaseDeptExample example);

    BaseDept selectByPrimaryKey(Integer deptId);

    int updateByExampleSelective(@Param("record") BaseDept record, @Param("example") BaseDeptExample example);

    int updateByExample(@Param("record") BaseDept record, @Param("example") BaseDeptExample example);

    int updateByPrimaryKeySelective(BaseDept record);

    int updateByPrimaryKey(BaseDept record);
}